package common.server.aop;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * 参数校验aop
 * @author Administrator
 * @version [版本号, 2017/11/15 0015]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
@Aspect
@Component
@Order(-6)
public class RestParamVaildAspect {

	@Pointcut("@within(common.server.aop.AopSign)")
	public void restParamVaild() {

	}

	@Before("restParamVaild()")
	public void doBefore(JoinPoint joinPoint) throws Throwable {
        RestParamVaildAspectHelper.I.doBefore(joinPoint);
	}
}
